#ifndef CHARTREADER_H
#define CHARTREADER_H

#include <QObject>
#include "common.h"

class ChartReaderPrivate;
class ChartReader : public QObject
{
    Q_OBJECT
public:
    ChartReader();
    ~ChartReader();

    bool open();
    bool close();
    void measure();

public slots:
    void onSetParameter(const VdsParameterPtr parameter);

signals:
    void dataReady(const VdsMeasureDataPtr data);
    void measureError(VdsError vdsError);

private:
    ChartReaderPrivate *d;
};

#endif // CHARTREADER_H
